﻿// ConsoleApplication2.cpp : 此文件包含 "main" 函数。程序执行将在此处开始并结束。
//
#define _CRT_SECURE_NO_WARNINGS
#include <stdio.h>
int main()
{
    double a = 0;double b = 0;double c = 0;double d = 0;double e = 0;
    scanf("%lf %lf %lf", &a, &b, &c);
    d = a + b + c;
    e = d / 3.0;
    printf("%.2lf %.2lf\n", d, e);
    return 0;
}